FrameLib  2.0
DSP processing with frames of arbitrary timing and length
FrameLib_LocalAllocator::Storage::Access Class Reference

an RAII utility for safely accessing a Storage object. More...

#include <FrameLib_Memory.h>

Public Member Functions

 Access (Storage *storage)
 
 ~Access ()
 
 Access (const Access &)=delete
 
Accessoperator= (const Access &)=delete
 
FrameType getType () const
 
double * getVector () const
 
unsigned long getVectorSize () const
 
unsigned long getTaggedSize () const
 
SerialgetTagged () const
 
void resize (bool tagged, size_t size)
 

Detailed Description

an RAII utility for safely accessing a Storage object.

Constructor & Destructor Documentation

◆ Access() [1/2]

FrameLib_LocalAllocator::Storage::Access::Access ( Storage storage)
inline

◆ ~Access()

FrameLib_LocalAllocator::Storage::Access::~Access ( )
inline

◆ Access() [2/2]

FrameLib_LocalAllocator::Storage::Access::Access ( const Access )
delete

Member Function Documentation

◆ getTagged()

Serial* FrameLib_LocalAllocator::Storage::Access::getTagged ( ) const
inline

◆ getTaggedSize()

unsigned long FrameLib_LocalAllocator::Storage::Access::getTaggedSize ( ) const
inline

◆ getType()

FrameType FrameLib_LocalAllocator::Storage::Access::getType ( ) const
inline

◆ getVector()

double* FrameLib_LocalAllocator::Storage::Access::getVector ( ) const
inline

◆ getVectorSize()

unsigned long FrameLib_LocalAllocator::Storage::Access::getVectorSize ( ) const
inline

◆ operator=()

Access& FrameLib_LocalAllocator::Storage::Access::operator= ( const Access )
delete

◆ resize()

void FrameLib_LocalAllocator::Storage::Access::resize ( bool  tagged,
size_t  size 
)
inline

The documentation for this class was generated from the following file: